{"ast":null,"code":"import { textEllipsis } from '../../style';\nconst genStepsNavStyle = token => {\n  const {\n    componentCls,\n    stepsNavContentMaxWidth,\n    stepsNavArrowColor,\n    stepsNavActiveColor,\n    motionDurationSlow\n  } = token;\n  return {\n    [`&${componentCls}-navigation`]: {\n      paddingTop: token.paddingSM,\n      [`&${componentCls}-small`]: {\n        [`${componentCls}-item`]: {\n          '&-container': {\n            marginInlineStart: -token.marginSM\n          }\n        }\n      },\n      [`${componentCls}-item`]: {\n        overflow: 'visible',\n        textAlign: 'center',\n        '&-container': {\n          display: 'inline-block',\n          height: '100%',\n          marginInlineStart: -token.margin,\n          paddingBottom: token.paddingSM,\n          textAlign: 'start',\n          transition: `opacity ${motionDurationSlow}`,\n          [`${componentCls}-item-content`]: {\n            maxWidth: stepsNavContentMaxWidth\n          },\n          [`${componentCls}-item-title`]: Object.assign(Object.assign({\n            maxWidth: '100%',\n            paddingInlineEnd: 0\n          }, textEllipsis), {\n            '&::after': {\n              display: 'none'\n            }\n          })\n        },\n        [`&:not(${componentCls}-item-active)`]: {\n          [`${componentCls}-item-container[role='button']`]: {\n            cursor: 'pointer',\n            '&:hover': {\n              opacity: 0.85\n            }\n          }\n        },\n        '&:last-child': {\n          flex: 1,\n          '&::after': {\n            display: 'none'\n          }\n        },\n        '&::after': {\n          position: 'absolute',\n          top: `calc(50% - ${token.paddingSM / 2}px)`,\n          insetInlineStart: '100%',\n          display: 'inline-block',\n          width: token.fontSizeIcon,\n          height: token.fontSizeIcon,\n          borderTop: `${token.lineWidth}px ${token.lineType} ${stepsNavArrowColor}`,\n          borderBottom: 'none',\n          borderInlineStart: 'none',\n          borderInlineEnd: `${token.lineWidth}px ${token.lineType} ${stepsNavArrowColor}`,\n          transform: 'translateY(-50%) translateX(-50%) rotate(45deg)',\n          content: '\"\"'\n        },\n        '&::before': {\n          position: 'absolute',\n          bottom: 0,\n          insetInlineStart: '50%',\n          display: 'inline-block',\n          width: 0,\n          height: token.lineWidthBold,\n          backgroundColor: stepsNavActiveColor,\n          transition: `width ${motionDurationSlow}, inset-inline-start ${motionDurationSlow}`,\n          transitionTimingFunction: 'ease-out',\n          content: '\"\"'\n        }\n      },\n      [`${componentCls}-item${componentCls}-item-active::before`]: {\n        insetInlineStart: 0,\n        width: '100%'\n      }\n    },\n    [`&${componentCls}-navigation${componentCls}-vertical`]: {\n      [`> ${componentCls}-item`]: {\n        marginInlineEnd: 0,\n        '&::before': {\n          display: 'none'\n        },\n        [`&${componentCls}-item-active::before`]: {\n          top: 0,\n          insetInlineEnd: 0,\n          insetInlineStart: 'unset',\n          display: 'block',\n          width: token.lineWidth * 3,\n          height: `calc(100% - ${token.marginLG}px)`\n        },\n        '&::after': {\n          position: 'relative',\n          insetInlineStart: '50%',\n          display: 'block',\n          width: token.controlHeight * 0.25,\n          height: token.controlHeight * 0.25,\n          marginBottom: token.marginXS,\n          textAlign: 'center',\n          transform: 'translateY(-50%) translateX(-50%) rotate(135deg)'\n        },\n        [`> ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n          visibility: 'hidden'\n        }\n      }\n    },\n    [`&${componentCls}-navigation${componentCls}-horizontal`]: {\n      [`> ${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n        visibility: 'hidden'\n      }\n    }\n  };\n};\nexport default genStepsNavStyle;","map":{"version":3,"names":["textEllipsis","genStepsNavStyle","token","componentCls","stepsNavContentMaxWidth","stepsNavArrowColor","stepsNavActiveColor","motionDurationSlow","paddingTop","paddingSM","marginInlineStart","marginSM","overflow","textAlign","display","height","margin","paddingBottom","transition","maxWidth","Object","assign","paddingInlineEnd","cursor","opacity","flex","position","top","insetInlineStart","width","fontSizeIcon","borderTop","lineWidth","lineType","borderBottom","borderInlineStart","borderInlineEnd","transform","content","bottom","lineWidthBold","backgroundColor","transitionTimingFunction","marginInlineEnd","insetInlineEnd","marginLG","controlHeight","marginBottom","marginXS","visibility"],"sources":["/data/messenger.client/node_modules/antd/es/steps/style/nav.js"],"sourcesContent":["import { textEllipsis } from '../../style';\nconst genStepsNavStyle = token => {\n  const {\n    componentCls,\n    stepsNavContentMaxWidth,\n    stepsNavArrowColor,\n    stepsNavActiveColor,\n    motionDurationSlow\n  } = token;\n  return {\n    [`&${componentCls}-navigation`]: {\n      paddingTop: token.paddingSM,\n      [`&${componentCls}-small`]: {\n        [`${componentCls}-item`]: {\n          '&-container': {\n            marginInlineStart: -token.marginSM\n          }\n        }\n      },\n      [`${componentCls}-item`]: {\n        overflow: 'visible',\n        textAlign: 'center',\n        '&-container': {\n          display: 'inline-block',\n          height: '100%',\n          marginInlineStart: -token.margin,\n          paddingBottom: token.paddingSM,\n          textAlign: 'start',\n          transition: `opacity ${motionDurationSlow}`,\n          [`${componentCls}-item-content`]: {\n            maxWidth: stepsNavContentMaxWidth\n          },\n          [`${componentCls}-item-title`]: Object.assign(Object.assign({\n            maxWidth: '100%',\n            paddingInlineEnd: 0\n          }, textEllipsis), {\n            '&::after': {\n              display: 'none'\n            }\n          })\n        },\n        [`&:not(${componentCls}-item-active)`]: {\n          [`${componentCls}-item-container[role='button']`]: {\n            cursor: 'pointer',\n            '&:hover': {\n              opacity: 0.85\n            }\n          }\n        },\n        '&:last-child': {\n          flex: 1,\n          '&::after': {\n            display: 'none'\n          }\n        },\n        '&::after': {\n          position: 'absolute',\n          top: `calc(50% - ${token.paddingSM / 2}px)`,\n          insetInlineStart: '100%',\n          display: 'inline-block',\n          width: token.fontSizeIcon,\n          height: token.fontSizeIcon,\n          borderTop: `${token.lineWidth}px ${token.lineType} ${stepsNavArrowColor}`,\n          borderBottom: 'none',\n          borderInlineStart: 'none',\n          borderInlineEnd: `${token.lineWidth}px ${token.lineType} ${stepsNavArrowColor}`,\n          transform: 'translateY(-50%) translateX(-50%) rotate(45deg)',\n          content: '\"\"'\n        },\n        '&::before': {\n          position: 'absolute',\n          bottom: 0,\n          insetInlineStart: '50%',\n          display: 'inline-block',\n          width: 0,\n          height: token.lineWidthBold,\n          backgroundColor: stepsNavActiveColor,\n          transition: `width ${motionDurationSlow}, inset-inline-start ${motionDurationSlow}`,\n          transitionTimingFunction: 'ease-out',\n          content: '\"\"'\n        }\n      },\n      [`${componentCls}-item${componentCls}-item-active::before`]: {\n        insetInlineStart: 0,\n        width: '100%'\n      }\n    },\n    [`&${componentCls}-navigation${componentCls}-vertical`]: {\n      [`> ${componentCls}-item`]: {\n        marginInlineEnd: 0,\n        '&::before': {\n          display: 'none'\n        },\n        [`&${componentCls}-item-active::before`]: {\n          top: 0,\n          insetInlineEnd: 0,\n          insetInlineStart: 'unset',\n          display: 'block',\n          width: token.lineWidth * 3,\n          height: `calc(100% - ${token.marginLG}px)`\n        },\n        '&::after': {\n          position: 'relative',\n          insetInlineStart: '50%',\n          display: 'block',\n          width: token.controlHeight * 0.25,\n          height: token.controlHeight * 0.25,\n          marginBottom: token.marginXS,\n          textAlign: 'center',\n          transform: 'translateY(-50%) translateX(-50%) rotate(135deg)'\n        },\n        [`> ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n          visibility: 'hidden'\n        }\n      }\n    },\n    [`&${componentCls}-navigation${componentCls}-horizontal`]: {\n      [`> ${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n        visibility: 'hidden'\n      }\n    }\n  };\n};\nexport default genStepsNavStyle;"],"mappings":"AAAA,SAASA,YAAY,QAAQ,aAAa;AAC1C,MAAMC,gBAAgB,GAAGC,KAAK,IAAI;EAChC,MAAM;IACJC,YAAY;IACZC,uBAAuB;IACvBC,kBAAkB;IAClBC,mBAAmB;IACnBC;EACF,CAAC,GAAGL,KAAK;EACT,OAAO;IACL,CAAE,IAAGC,YAAa,aAAY,GAAG;MAC/BK,UAAU,EAAEN,KAAK,CAACO,SAAS;MAC3B,CAAE,IAAGN,YAAa,QAAO,GAAG;QAC1B,CAAE,GAAEA,YAAa,OAAM,GAAG;UACxB,aAAa,EAAE;YACbO,iBAAiB,EAAE,CAACR,KAAK,CAACS;UAC5B;QACF;MACF,CAAC;MACD,CAAE,GAA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